/**************************************************************************************** Import */
import _ from 'lodash';
import React, {Component} from 'react';
import {View, Dimensions} from 'react-native';
import { Icon,  List, Button, InputItem, Tabs, TextareaItem } from 'antd-mobile-rn';
import { CAround, CBetween, CCenter, CColumn, CFloat, CHand, CItemX, CItemY, CLine, CLoad, CRow, CWrap, CBone, CIcon, CImage, CSvg, CText, CFull, CScroll, CFooter, CHeader, CPage, CButton, CLabel, PTabbar, PHeader, PFessContent } from '../../../../library/comp';
import { Dialog, Http, PageBase } from '../../../../library/func';
import Design from '../../../../design';
import Config from '../../../../config';

/**************************************************************************************** Pageload */

/**************************************************************************************** Cacheload */

/**************************************************************************************** Preload */

/**************************************************************************************** Get */

/**************************************************************************************** Post */

/**************************************************************************************** Page */
export default class Proppay extends PageBase {
	constructor(props){
		super(props)
		this.state = {
            data:{
                money:200,
                moneyName:'2018.11.01-2018.12.01  物业费',
                lastDate:'2018.12.01'
            }
		}
    }
    
    /************************************************************************************ Func */
    
    // 立即缴费
    submit(e){

    }
	/************************************************************************************ Render */
	render() {
		return (
			<CPage>

				<CScroll mt='80' bg='#efeff4' px='30'>

                    {/* 缴费内容组件 */}
                    <PFessContent data={this.state.data}></PFessContent>

                    {/* 缴费按钮 */}
                    <CColumn py='10' mt='20'>
                        <CButton {...Design.global.commonButton} ra='5' onPress={e=>this.submit(e)}>立即缴费</CButton>
                    </CColumn>

				</CScroll>
				
                {/* header */}
				<PHeader nav={this.nav}>物业费</PHeader>

			</CPage>
		);
	}
}
